package com.example.service;

import com.example.pojo.Teach;

import java.util.List;

public interface TeachService {
    List<Teach> selectTeachByPid(int pid);
    List<Teach> selectTeachByUid(int uid);
    List<Teach> selectAllTeach();
    int insertTeach(int pid,int uid);
    int deleteTeachByUid(int uid);
    int deleteTeachByPid(int pid);
    int updateTeach(int pid,int uid, String startTime);
}
